﻿@{
    ViewBag.Title ="Questions";
    Layout = "";
}



<!DOCTYPE html>

<html>
<head>
    <!-- META TAGS -->
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>试题显示</title>


    <!-- Style Sheet-->
    <link rel="stylesheet" href="style.css" />
    <link rel='stylesheet' id='bootstrap-css-css' href='~/试题显示_files/bootstrap5152.css?ver=1.0' type='text/css' media='all' />
    <link rel='stylesheet' id='responsive-css-css' href='~/试题显示_files/responsive5152.css?ver=1.0' type='text/css' media='all' />
    <link rel='stylesheet' id='pretty-photo-css-css' href='~/试题显示_files/prettyphoto/prettyPhotoaeb9.css?ver=3.1.4' type='text/css' media='all' />
    <link rel='stylesheet' id='main-css-css' href='~/试题显示_files/main5152.css?ver=1.0' type='text/css' media='all' />
    <link rel='stylesheet' id='custom-css-css' href='~/试题显示_files/custom5152.html?ver=1.0' type='text/css' media='all' />
    <link href="/Content/css/bootstrap.css" rel="stylesheet" />
    <link href="/Content/css/style.css" rel="stylesheet" />
    <script src="/Scripts/jquery-1.10.2.min.js"></script>

    <script>
        var a = location.search;
        $(document).ready(function () {
            //显示收藏文章
            GetInter();
        })
        //显示收藏文章
        function ShowReger() {
            $("#table").empty();
            $.ajax({
                url: "/values/GetInter",
                type: "get",
                success: function (d) {alert(d)
                    var p = jQuery.parseJSON(d);
                    var q = jQuery.parseJSON(p);
                    $(q).each(function (i, obj) {
                        var str = " <tr> <td> 上传人： " + obj.User_id + "</td> </tr>";
                        str += " <tr> <td> 面试职位： " + obj.position_id + "</td> </tr>";
                        str += " <tr> <td> 面试公司： " + obj.Firm_Id + " </td>  </tr>";
                        str += " <tr> <td> 面试日期： " + obj.interview_data + " </td> </tr>";
                        str += " <tr> <td> 公司地址: </td> </tr>";
                        str += " <tr> <td> 面试难度: </td> </tr>";
                        str += " <tr> <td>  笔试音频： " + obj.interview_tapes + " </td> </tr>";
                        str += " <tr> <td> 笔试图片： " + obj.interview_image + " </td> </tr>";
                        str += " <tr> <td> 面试附加: " + obj.interview_attached + " </td>  </tr>";
                        $("table").append(str);
                    })

                }
            })
        }
      
    </script>
    
</head>
<body>
    <!-- Start of Header -->
    <div class="header-wrapper">

        <header>

            <div class="container">
                <nav class="main-nav">
                    <div class="menu-top-menu-container" style="padding-right:1100px">
                        <ul id="menu-top-menu" class="clearfix">
                            <li><a href="/Home/Index" style="font-size:20px">首页</a></li>
                        </ul>
                    </div>
                </nav>
                <div class="logo-container">

                    <!-- Website Logo -->
                    <span class="tag-line" style="font-size:30px;padding-left:500px">试题显示</span>
                </div>
                <!-- Start of Main Navigation -->
                <!-- End of Main Navigation -->
            </div>
        </header>
    </div>
    <!-- End of Header -->
    <div class="container">
        <div class="col-md-1">
        </div>

        <div class="col-md-10" style="margin-top:30px;">
            <table class="table table-hover" id="table">
                <tr>
                    <td>
                        上传人： <span id="Login_Nickname"></span>
                    </td>
                </tr>
                <tr>
                    <td>
                        面试职位： <span id="position_name"></span>
                    </td>
                </tr>
                <tr>
                    <td>
                        面试公司：<span id="Firm_Name"></span>
                    </td>
                </tr>
                <tr>
                 
                       <td>
                        面试日期：<span id="interview_data"></span>
                    </td>

                </tr>
                <tr>
                    <td>
                        笔试音频：
                        <audio controls="controls" id="interview_tapes">
                            <source src="" type="audio/mpeg" />
                        </audio>
                    </td>
                </tr>
                <tr>
                    <td style="overflow:hidden" >
                        笔试图片：


                        <div id="interview_image"></div>

                    </td>
                </tr>
                <tr>
                    <td>
                        面试附加:<textarea id="interview_attached" rows="10" cols="58" class="span8" readonly="readonly"></textarea>
                       
                    </td>
                </tr>
            </table>
            <div id="SOHUCS"></div>
            <script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js"></script>
           
        </div>
        <div class="col-md-1">

        </div>
    </div>

    <!-- script -->
    <script type='text/javascript' src='~/试题显示_files/jquery-1.8.3.min.js'></script>
    <script type='text/javascript' src='~/试题显示_files/jquery.easing.1.3.js'></script>
    <script type='text/javascript' src='~/试题显示_files/jquery.prettyPhoto.js'></script>
    <script type='text/javascript' src='~/试题显示_files/jflickrfeed.js'></script>
    <script type='text/javascript' src='~/试题显示_files/jquery.liveSearch.js'></script>
    <script type='text/javascript' src='~/试题显示_files/jquery.form.js'></script>
    <script type='text/javascript' src='~/试题显示_files/jquery.validate.min.js'></script>
    <script type='text/javascript' src='~/试题显示_files/custom.js'></script>
    <script>
        
    $(document).ready(function () {
        
        a = a.substr(1);
        $.ajax({
            url: "/Home/SS",
            data: { id: a },
            type: "post",
            dataType: "json",
            async: false,
            success: function (res) {
                var a = jQuery.parseJSON(res);
                //  a = jQuery.parseJSON(a);
                //    alert(a.Login_Nickname);
                $("#Login_Nickname").html(a.Login_Nickname);
                $("#position_name").html(a.position_name);
                $("#Firm_Name").html(a.Firm_Name);
                $("#interview_data").html(a.interview_data);
                //    $("#interview_tapes").attr("src", a.interview_tapes);
             //   $("#interview_tapes").html("<source src='"+a.interview_tapes+"' type='audio/mpeg' />");
             //   $("#interview_image").html("<img src='" + a.interview_image + "' />");
                $("#interview_attached").html(a.interview_attached);
            }
        });
    });
    </script>

</body>
</html>

